import  requests
resp = requests.post(url="https://hmshop-test.itheima.net/index.php?m=Home&c=User&a=do_login&t=0.8848781754619726",
                     headers={"content-type":"application/x-www-form-urlencoded"},
                     data={
                         "username":"15727597562",
                         "password":"123456",
                         "verify_code":"8888"
                     })
print(resp.text)
print(resp.json())